package com.lj.syn.thread;

/**
 * Created by yangsp1 on 16/3/27.
 */
public class ThreadTestBB extends Thread {
    AbstractSyn synTest;
    public ThreadTestBB(AbstractSyn synTest){
        this.synTest = synTest;
    }

    @Override
    public void run() {
        super.run();
        try {
            synTest.bb();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
